package com.giscloud.limp.dao;

import com.giscloud.limp.entity.CaseRetrial;
import org.apache.ibatis.annotations.Param;
import com.giscloud.limp.entity.CaseRetrialExample;
import java.util.List;
import java.math.BigDecimal;
import com.giscloud.datasource.core.DynamicDataSource;
/**
 * 再审案件信息
 * 
 * @author giscloud
 * @email giscloud@giscloud.com
 * @date 2020-06-10 14:25:28
 */
public interface CaseRetrialDao {
    @DynamicDataSource("ds1")
    long countByExample(CaseRetrialExample example);
    @DynamicDataSource("ds1")
    int deleteByExample(CaseRetrialExample example);
    @DynamicDataSource("ds1")
    int insert(CaseRetrial record);
    @DynamicDataSource("ds1")
    int insertSelective(CaseRetrial record);
    @DynamicDataSource("ds1")
    List<CaseRetrial> selectByExample(CaseRetrialExample example);
    @DynamicDataSource("ds1")
    int updateByExampleSelective(@Param("record") CaseRetrial record, @Param("example") CaseRetrialExample example);
    @DynamicDataSource("ds1")
    int updateByExample(@Param("record") CaseRetrial record, @Param("example") CaseRetrialExample example);
    @DynamicDataSource("ds1")
    int updateByPrimaryKeySelective(CaseRetrial record);
    @DynamicDataSource("ds1")
    int updateByPrimaryKey(CaseRetrial record);
    @DynamicDataSource("ds1")
    CaseRetrial selectByPrimaryKey(Integer caseRetrialId);
    @DynamicDataSource("ds1")
    CaseRetrial selectOneByExample(CaseRetrialExample example);
    @DynamicDataSource("ds1")
    CaseRetrial selectOneByExampleSelective(@Param("example") CaseRetrialExample example, @Param("selective") CaseRetrial.Column... selective);
    @DynamicDataSource("ds1")
    CaseRetrial selectByPrimaryKeySelective(Integer caseRetrialId, @Param("selective") CaseRetrial.Column... selective);
    @DynamicDataSource("ds1")
    List<CaseRetrial> selectByExampleSelective(@Param("example") CaseRetrialExample example, @Param("selective") CaseRetrial.Column... selective);

}
